<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY copy "&#169;">
  <!ENTITY nbsp "&#160;">
  <!ENTITY laquo "&#171;">
  <!ENTITY raquo "&#187;">
]>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <xsl:output encoding="UTF-8"
              method="xml"
              omit-xml-declaration="yes"
              indent="no"
              doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
              doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

  <xsl:variable name="Root" select="/page/settings/url" />
  <xsl:variable name="Images" select="/page/settings/images_url" />

  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>

  <xsl:template match="page">
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>
          Авторизация пользователя
        </title>
        <link href="/css/login.css" rel="stylesheet" type="text/css" />
        <link href="/css/reset.css" rel="stylesheet" type="text/css" />
        <!--<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />-->
      </head>
      <body>

        <div id="login">

          <form name="loginform" method="post" id="loginform" action ="">
            <div class="msg_error">
              <xsl:value-of select="/page/content/main/message" />
            </div>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" class="login">
              <tr>
                <td class="label">
                  <label>Логин</label>
                </td>
                <td>
                  <input name="username" class="input" id="user_login" value="" size="32" maxlength="32" tabindex="1" />
                </td>
              </tr>

              <tr>
                <td class="label">
                  <label>Пароль</label>
                </td>
                <td>
                  <input name="password" class="input" id="user_pass" tabindex="2" size="32" maxlength="32" type="password" />
                </td>
              </tr>
              <tr>
                <td class="label"></td>
                <td>
                  <p class="submit">
                    <input type="submit" class="button" id="wp-submit" tabindex="100" value="Войти" />
                  </p>
                </td>
              </tr>
            </table>
          </form>
        </div>
        <div id="layout">
          <div class="hFooter"></div>
        </div>
        <div id="footer">
          <div class="fcontainer">
            © 2013 koshengine 1.0
          </div>
        </div>
        <script type="text/javascript" src="{$Root}/js/jq.js"></script>
        <script type="text/javascript" src="{$Root}/js/login.js"></script>
        <!-- HTML -->
      </body>
    </html>
  </xsl:template>

</xsl:stylesheet>